from langchain_openai import ChatOpenAI

import os
from dotenv import load_dotenv
load_dotenv(verbose=True)
api_key = os.getenv("ZHIPU_API_KEY")

llm_zp = ChatOpenAI(
    temperature=0.95,
    model="glm-4-flash",
    openai_api_key=api_key,
    openai_api_base="https://open.bigmodel.cn/api/paas/v4/"
)